package main

import (
	"fmt"
	"io/ioutil"
	"log"
)

func main() {
	// 读取文件
	content, err := ioutil.ReadFile("C:/Users/i/Desktop/My/go-demos/files/Test.txt")

	if err != nil {
		log.Println("文件打开出错")
	}
	fmt.Printf("%v", content)
	fmt.Println()
	fmt.Printf("%v", string(content))

}
